import request from '@/utils/request'

// 列表
export function userPage(params) {
  return request({
    url: '/system/user/pageList',
    method: 'post',
    data: params
  })
}

// 新增
export function userAdd(params) {
  return request({
    url: `/system/user/save`,
    method: 'post',
    data: params
  })
}

// 修改
export function userEdit(params) {
  return request({
    url: `/system/user/update`,
    method: 'post',
    data: params
  })
}

// 详情
export function userGet(params) {
  return request({
    url: `/system/user/get`,
    method: 'post',
    data: params
  })
}

